﻿#!/bin/bash
#http test

import httplib

def http_get( host, url ):
	conn=httplib.HTTPConnection( host )
	conn.request("GET", url )
	r=conn.getresponse()
	print r.read() #获取所有内容

if __name__ == "__main__":
	http_get( "s3.dh.the9.com", "/gamebto/ajax_action.php?action=assistTake&actGet=gsWaitProcessList&tthetime=7955818dd59ba36cf186c4e1d1dd57ce&__ex=1070&__ey=534&nowtime=1259029757500" )